/* 
 * Copyright (c) 2021, CENTRIN.CIYUN.LTD. All rights reserved.
 */
package com.cory.boot.component.uploader;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @author xiongcong
 * @date 2021-05-22
 */
@Component
public class UploaderConfig {
    public static String resource;
    public static String domain;
    
    @Value("${uploader.resource:D:/tmp}")
    public void setProfile(String resource) {
        UploaderConfig.resource = resource;
    }
    
    @Value("${uploader.domain:}")
    public void setDomain(String domain) {
        UploaderConfig.domain = domain;
    }
    
}
